package com.love.cloud.log.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author hongdongqu
 */
@Data
@Configuration
@ConfigurationProperties("spring.redis")
public class RedisProperties {
    /**
     * 地址
     */
    private String host;
    /**
     * 端口号
     */
    private String port;
    /**
     * 密码
     */
    private String password;
    /**
     * 数据插槽
     */
    private int database;
}
